# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include eos::fst
class eos::fst (
 $eosversion = "5.1.25",
)
{ 
  yumrepo { "eosfst":
    baseurl => "http://${mirrorserver}/yum/storage-ci/eos/diopside/sl-7-x86_64/$eosversion",
    descr => "eosfst",
    enabled => 1,
    gpgcheck => 0,
    priority => 1,
    before   => Yumrepo['site'],
  }

    yumrepo { "eosfst-depends":
    baseurl => "http://${mirrorserver}/yum/storage-ci/eos/diopside/sl-7-x86_64-depends",
    descr => "eosfst-depends",
    enabled => 1,
    gpgcheck => 0,
    priority => 1,
    before   => Yumrepo['site'],
  } 

   $eos_pkg = [
        "eos-richacl",
        "eos-grpc",
        "eos-protobuf3",
        "eos-libmicrohttpd-devel",
        "eos-xrootd",
        "eos-librichacl",
        "eos-fusex-core",
        "eos-fusex-selinux",
        "eos-server",
        "eos-testkeytab",
        "eos-folly-deps",
        "eos-folly",
        "eos-client",
        "eos-fusex",
     ]  
        
  package { $eos_pkg:
              ensure  => installed,
              require => Yumrepo['site'],
  }     

}
